home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / TOOLBOOK / MINISPY.ZIP / ASSIGN.SBK (.txt) next >
Asymetrix ToolBook File  |  1993-08-19  |  53KB  |  1,527 lines

  1. assignments
  2. assignment2
  3. B    assignmentList
  4. assignment6
  5. assignment5
  6. assignment4
  7. assignment3
  8. AnythingGoes
  9. InsertPages
  10. DeleteThisPage
  11. CutThisPage
  12. CopyThisPage
  13. DuplicateThisPage
  14. copyTarget
  15. assignment2
  16. assignment1
  17. FindObjectByType
  18. FindObjectByName
  19. ObjectsOfThisPage
  20. tms rmn
  21. test2
  22. test3
  23. test4
  24. assignment3
  25. assignment4
  26. assignment5
  27. assignment6
  28. System
  29. tms rmn
  30. tms rmn
  31. showmenubar
  32. buttonUpToSelection
  33. assignment6
  34. assignment5
  35. assignment4
  36. assignment3
  37. AnythingGoes
  38. InsertPages
  39. DeleteThisPage
  40. CutThisPage
  41. CopyThisPage
  42. DuplicateThisPage
  43. copyTarget
  44. assignment2
  45. assignment1
  46. FindObjectByType
  47. FindObjectByName
  48. ObjectsOfThisPage
  49. _GetCommandWindow
  50. _MiniSpy_HELP
  51. _Assign_HELP
  52. CloneClusterIntoN
  53. CloneCluster
  54. CloneSelection
  55. CloneTarget
  56. ExecuteCommand
  57. showmenubar
  58. buttonUpToSelection
  59. InsertPages
  60. DeleteThisPage
  61. CutThisPage
  62. CopyThisPage
  63. DuplicateThisPage
  64. copyTarget
  65. FindObjectByType
  66. FindObjectByName
  67. ObjectsOfThisPage
  68. y_HELP
  69. _Assign_HELP
  70. CloneClusterIntoN
  71. CloneCluster
  72. CloneSelection
  73. CloneTarget
  74. ExecuteCommand
  75. showmenubar
  76. buttonUpToSelection
  77. InsertPages
  78. DeleteThisPage
  79. CutThisPage
  80. CopyThisPage
  81. DuplicateThisPage
  82. copyTarget
  83. FindObjectByType
  84. FindObjectByName
  85. ObjectsOfThisPage
  86. GetCommandWindow
  87. _MiniSpy_HELP
  88. _Assign_HELP
  89. CloneClusterIntoN
  90. CloneCluster
  91. CloneSelection
  92. CloneTarget
  93. ExecuteCommand
  94. showmenubar
  95. buttonUpToSelection
  96. InsertPages
  97. DeleteThisPage
  98. CutThisPage
  99. CopyThisPage
  100. DuplicateThisPage
  101. copyTarget
  102. FindObjectByType
  103. FindObjectByName
  104. ObjectsOfThisPage
  105. assignment6
  106. PageSavedInMWS
  107. Assign code
  108. MKcopyInfo
  109. 3,C:\HJS\X-DEV\X-UTIL\ASSIGN.SBK
  110. ,;Ba*
  111. testing only"
  112. buttonUp
  113. buttonUp
  114. for testing only
  115. Current Assignments:
  116. assignment5
  117. assignment4
  118. assignment3
  119. AnythingGoes
  120. InsertPages
  121. DeleteThisPage
  122. CutThisPage
  123. CopyThisPage
  124. DuplicateThisPage
  125. copyTarget
  126. assignment2
  127. assignment1
  128. FindObjectByType
  129. FindObjectByName
  130. ObjectsOfThisPage
  131. EditAssignments
  132. "Do you want me 
  133. update the assignment list?" 
  134.         "&Yes" OR "&No"
  135. "yes" 
  136. processAssignments
  137. buttonUp
  138. buttonUp
  139. Do you want me to update the assignment list?
  140. FprocessAssignments
  141. Edit Assignments
  142. UpdateAssignments
  143. ProcessAssignments
  144. buttonUp
  145. buttonUp
  146. FProcessAssignments
  147. Update Assignments
  148. progressReport
  149. Instructions
  150. 1'N%+
  151. "notepad.exe Assign2.txt"
  152. buttonUp
  153. buttonUp
  154. notepad.exe Assign2.txt
  155. Instructions
  156. currentAssignments
  157. PageSavedInMWS
  158. MiniSpy
  159. Assignment Depositoryy
  160. testing only"
  161. buttonUp
  162. buttonUp
  163. for testing only
  164. Current Assignments:
  165. assignment5
  166. assignment4
  167. assignment3
  168. AnythingGoes
  169. InsertPages
  170. DeleteThisPage
  171. CutThisPage
  172. CopyThisPage
  173. DuplicateThisPage
  174. copyTarget
  175. assignment2
  176. assignment1
  177. FindObjectByType
  178. FindObjectByName
  179. ObjectsOfThisPage
  180. EditAssignments
  181. "Do you want me 
  182. update the assignment list?" 
  183.         "&Yes" OR "&No"
  184. "yes" 
  185. processAssignments
  186. buttonUp
  187. buttonUp
  188. Do you want me to update the assignment list?
  189. FprocessAssignments
  190. Edit Assignments
  191. UpdateAssignments
  192. ProcessAssignments
  193. buttonUp
  194. buttonUp
  195. FProcessAssignments
  196. Update Assignments
  197. progressReport
  198. Instructions
  199. "notepad.exe Assign.txt"
  200. buttonUp
  201. buttonUp
  202. notepad.exe Assign.txt
  203. Instructions
  204. currentAssignments
  205. ... updating Assignmentsts
  206. ... updating Assignmentsts
  207. B"updateAssignments"
  208. enterPage
  209. enterPage
  210. buttonUp
  211. updateAssignments
  212. signment2
  213. assignment1
  214. FindObjectByType
  215. FindObjectByName
  216. ObjectsOfThisPage
  217. ... updating Assignmentsts
  218. GetCommandWindow
  219. _MiniSpy_HELP
  220. _Assign_HELP
  221. CloneClusterIntoN
  222. CloneCluster
  223. CloneSelection
  224. CloneTarget
  225. ExecuteCommand
  226. showmenubar
  227. buttonUpToSelection
  228. InsertPages
  229. DeleteThisPage
  230. CutThisPage
  231. CopyThisPage
  232. DuplicateThisPage
  233. copyTarget
  234. FindObjectByType
  235. FindObjectByName
  236. ObjectsOfThisPagee
  237.  assignmentList 
  238. "currentAssignments" 
  239. B"updateAssignments"
  240. enterPage
  241. enterPage
  242. assignmentList
  243. currentAssignments
  244. buttonUp
  245. updateAssignments
  246.  call like 
  247. --        "
  248. ( example, 
  249. %a distributor:
  250. --            
  251. myOwnWrapAroundFunction
  252. specialHandlerCall 
  253. 8"c:\xyz\q\abc.
  254. RETURN TRUE
  255. --            
  256. ObjectsOfThisPage
  257. [objList
  258. ) & CRLF
  259. :" & 
  260. FindObjectByName
  261. 4s_lastObjName
  262.     Ask "
  263. retName 
  264. 8, etc
  265. [foundObj
  266. tempObjList 
  267. <> NULL
  268. 2 ) = 
  269. "There 
  270. p" && \
  271.         QUOTE & 
  272.     & "on 
  273. p" && 
  274. 5":" \
  275.             & 
  276. FindObjectByType
  277. 4s_lastObjType
  278. type:" 
  279.  ) = 
  280. " && 
  281. & "on 
  282. " && 
  283. ":" \
  284. "The 
  285. " && 
  286. & "does 
  287. xexist."
  288. assignment1
  289. assignment2
  290. copyTarget targetObj
  291. DuplicateThisPage
  292. Paste
  293. CopyThisPage
  294. CutThisPage
  295. DeleteThisPage
  296.     Request "Are 
  297. sure 
  298. delete 
  299. ?" && \
  300. cannot be reversed." 
  301. f"&Ok" 
  302. "&Cancel"
  303. c"ok"
  304. InsertPages
  305.  how 
  306. urrent 
  307. AnythingGoes
  308. "What 
  309. think 
  310. means?"
  311. assignment3
  312. assignment4
  313. assignment5
  314. assignment6
  315. ProcessAssignments
  316.     --    I'm 
  317. , so 
  318. won't be
  319.     --    listed 
  320. regular 
  321. "progressReport" 
  322. "... processing 
  323. [assignments
  324. tempScr 
  325. 6)) = "
  326. " ) AND \
  327.             ( ( 
  328. \)) = "
  329.             & 
  330. "... updating 
  331. tempChr 
  332. CR & "," & 
  333.  & "," & LF
  334. "currentAssignments" 
  335. buttonUpToSelection
  336. ProcessAssignments
  337. assignment2
  338. copyTarget
  339. DuplicateThisPage
  340. FindObjectByName
  341. CopyThisPage
  342. CutThisPage
  343. FindObjectByType
  344. DeleteThisPage
  345. InsertPages
  346. AnythingGoes
  347. assignment1
  348. assignment3
  349. assignment4
  350. ObjectsOfThisPage
  351. assignment5
  352. assignment6
  353. buttonUpToSelection
  354. ObjectsOfThisPage
  355. Objects of this page:
  356. objList
  357. FindObjectByName
  358. Find object with name:
  359. group
  360. There is no object with name
  361. on this page.
  362. Objects with name
  363. tempObj
  364. tempObjList
  365. foundObj
  366. retName
  367. s_lastObjName
  368. FindObjectByType
  369. button,field,page,background,rectangle,recordfield
  370. Find all objects of type:
  371. group
  372. There is no object of type
  373. on this page.
  374. Objects of type
  375. The object type
  376. does not exist.
  377. tempObj
  378. tempObjList
  379. foundObj
  380. retName
  381. s_lastObjType
  382. objList
  383. assignment1
  384. buttonUp
  385. assignment2
  386. copyTarget
  387. targetObj
  388. DuplicateThisPage
  389. Paste
  390. CopyThisPage
  391. CutThisPage
  392. DeleteThisPage
  393. Are you sure you want to delete this page?
  394. This process cannot be reversed.
  395. &Cancel
  396. clear
  397. InsertPages
  398. Insert how many pages after the current page?
  399. y5newPage
  400. AnythingGoes
  401. What do you think this means?
  402. assignment3
  403. assignment4
  404. assignment5
  405. assignment6
  406. ProcessAssignments
  407. progressReport
  408. ... processing Assignments
  409. assign.sbk
  410. progressReport
  411. ... updating Assignments
  412. assignmentList
  413. currentAssignments
  414. progressReport
  415. tempChr
  416. tempScr
  417. assignments
  418. buttonUpToSelection
  419. buttonUp
  420. Please select an object first.
  421.         Book Script 
  422. "Assign.sbk",
  423.         the companion 
  424. "MiniSpy.
  425.         Developer Utility
  426. --        Jurgen Sladeczek
  427. --        Copyright 1993
  428. --        All Rights Reserved
  429. --        Source Code Version 2.0
  430. --        Release 
  431. r: July 22, 1993
  432. --        Description:
  433. --            * Contains 
  434. ustomizable list 
  435. user defined functions that are accessible
  436. 's main dialogbox
  437. --        History + Known problems:
  438. --            In Books 
  439. flarge scripts, 
  440. fmany 
  441. --            lots 
  442. contents), ToolBook may display a "memory 
  443. --            message (repeatedly). Just click on OK (
  444. --            dismiss 
  445. --        Contact address 
  446. comments 
  447. suggestions:
  448. --            
  449. --            100 D Stinson St.
  450. --            Chapel Hill, NC 27514
  451. --        How 
  452. use ASSIGN.sbk:
  453. --        (As 
  454. lengthy 
  455. describe, but
  456. --        easily done!)
  457. --        TO RUN A SCRIPT VIA MINISPY:
  458. --            Assuming 
  459. already installed, 
  460. --            
  461. mousebutton 
  462. bring up 
  463. --            (If you 
  464. 't have 
  465. U yet, 
  466. --            
  467. Install 
  468. Bprovided there).
  469. --            Double-Click on 
  470. hand side, 
  471. --            
  472. want 
  473. . (Or 
  474. --            
  475. "Execute" 
  476. --        TO ADD YOUR OWN 
  477. TO THE LIST:
  478. "Edit Assignments" 
  479. B. This will 
  480. 2: Write 
  481.  handler 
  482. your 
  483. . Remember 
  484. always write 
  485. form 
  486. K. (You can 
  487. handlers, but they 
  488. ignored 
  489. ilation 
  490. assignment 
  491. 3:    After 
  492. choose "Save-
  493. ", a 
  494. prompt 
  495. whether 
  496. update 
  497. . Choose "Yes", 
  498. just added a 
  499. pNo" 
  500. edited 
  501. existing 
  502. --        Note: 
  503. de below, 
  504. can't teach
  505. directly via 
  506. --        However, 
  507. find situations, where 
  508. absolutely need 
  509. DIRECTLY, I would like 
  510. know.
  511. --        (I 
  512. imagine such a 
  513. 's why I didn't
  514. --        include 
  515. capability).
  516. --        If 
  517. some other 
  518. don't
  519. convert 
  520. , try 
  521. a "wrap-around"
  522.  call 
  523. --        "Wrap-
  524. % example, 
  525. %a distributor:
  526. --            
  527. myOwnWrapAroundFunction
  528. specialHandlerCall 
  529. 8"c:\xyz\q\abc.
  530. RETURN TRUE
  531. --            
  532. --        Then 
  533. be listed 
  534. Hexecuting 
  535. immediately 
  536.     bookscript 
  537. 8"c:\
  538. --        Below 
  539. (rather simple) sample 
  540. ObjectsOfThisPage
  541. [objList
  542. ) & CRLF
  543. "Top-level 
  544. :" & 
  545. FindObjectByName
  546. 4s_lastObjName
  547.     Ask "
  548. retName 
  549. 8, etc
  550. [foundObj
  551. tempObjList 
  552. <> NULL
  553. 2 ) = 
  554. "There 
  555. p" && \
  556.         QUOTE & 
  557.     & "on 
  558. p" && 
  559. 5":" \
  560.             & 
  561. FindObjectByType
  562. 4s_lastObjType
  563. type:" 
  564.  ) = 
  565. " && 
  566. & "on 
  567. " && 
  568. ":" \
  569. ) > 0
  570. "The 
  571. {TYPE" && 
  572. & "does 
  573. copyTarget targetObj
  574. DuplicateThisPage
  575. Paste
  576. CopyThisPage
  577. CutThisPage
  578. DeleteThisPage
  579.     Request "Are 
  580. sure 
  581. delete 
  582. ?" && \
  583.     process cannot be reversed." 
  584. f"&Ok" 
  585. "&Cancel"
  586. c"ok"
  587. InsertPages
  588.  how 
  589. urrent 
  590. ProcessAssignments
  591.     --    I'm 
  592. , so 
  593. won't be
  594. regular 
  595. "progressReport" 
  596. "